<?php
require_once '../controller.php';
$form = new Form('add_group_form','post');
$form->text("<h2>Add new Group</h2>");
$form->textInput('course_id','',array('class'=>'invisible','value'=>$params->c));
$form->textInput('name','Group Name',array('required'=>true,'tabindex'=>'1'));
$form->textArea('description','Group Description',3,25,array('tabindex'=>'2'));
$form->textInput('code_name','Google Code URL',array('required'=>true,'tabindex'=>'3'));
$form->textInput('groups_name','Google Groups URL',array('required'=>true,'tabindex'=>'4'));
$form->button('add_group_submit','Add Group',array('tabindex'=>'5'),false);
$form->button('add_group_cancel','Cancel',array('type'=>'button','onclick'=>'closePopup()','tabindex'=>'6'),false);
die($form->build());